﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using 学生成绩管理系统.Studentinfo;
using 学生成绩管理系统.Courseinfo;
using 学生成绩管理系统.Scoreinfo;


namespace 学生成绩管理系统
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void 学生信息管理ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            addstudent adds = new addstudent();
            adds.MdiParent = this;
            adds.Show();
        }

        private void 学生信息管理ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            updatestudent ups = new updatestudent();
            ups.MdiParent = this;
            ups.Show();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            mstudent ms = new mstudent();
            ms.MdiParent = this;
            ms.Show();

        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            myCourse mc = new myCourse();
            mc.MdiParent = this;
            mc.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            mScore ms = new mScore();
            ms.MdiParent = this;
            ms.Show();
        }

        private void 课程信息管理ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            myCourse mc = new myCourse();
            mc.MdiParent = this;
            mc.Show();
        }

        private void 课程信息管理ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            addCourseinfo ac = new addCourseinfo();
            ac.MdiParent = this;
            ac.Show();
        }

        private void 课程信息管理ToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            updateCourseinfo uc = new updateCourseinfo();
            uc.MdiParent = this;
            uc.Show();
        }

        private void 课程信息管理ToolStripMenuItem4_Click(object sender, EventArgs e)
        {
            myCourse mc = new myCourse();
            mc.MdiParent = this;
            mc.Show();
        }

        private void 成绩管理ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            mScore msc = new mScore();
           msc.MdiParent = this;
            msc.Show();
        }

        private void 成绩管理ToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            addScore2 ads = new addScore2();
            ads.MdiParent = this;
            ads.Show();
        }

        private void 成绩管理ToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            mScore msc = new mScore();
            msc.MdiParent = this;
            msc.Show();
        }

        private void 成绩管理ToolStripMenuItem4_Click(object sender, EventArgs e)
        {
            mScore msc = new mScore();
            msc.MdiParent = this;
            msc.Show();
        }

        private void 版本ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            A a = new A();
            a.MdiParent = this;
            a.Show();
        }
    }
}
